<html>
    <head>
<meta http-equiv="content-type" content="text/html; charset=utf-8"/>
<title>Din konst - köp och sälj din konst!</title>
<link href="../ImageResize/grid_style.css" media="screen" rel="stylesheet" type="text/css"/>
<link rel="stylesheet" href="../Huvudmeny/menu_style.css" type="text/css" media="screen" />
<link rel='stylesheet' type='text/css' href='../InsertUser/stylesheet.css'>
<link rel="stylesheet" href="../Huvudmeny/welcome_text.css" type="text/css" media="screen" />
</head>
<body link="black" alink="black" vlink="black" bgcolor ="whitesmoke">
<div style="position:absolute; left:180px; "><img src='../Banner/images/loggatest.png' alt="Din konst" />

<?php
session_start();
if (isset($_SESSION['login'])) {if ($_SESSION['login']=="go"){include '../LogIn/isLoggedIn.php';}}
else { include '../LogIn/mainLogin.php';}
?>
 </div>
    <br><br><br><br><br><br><br><br>
<center>
<ul id="menu">
<li><a href="../index.php" title="" style=" width:15px; height:35px; background-image:url(../Huvudmeny/Images/HEMtest3.png);" class="current"></a></li>

<?php
$location=$_GET['location'];
if ($location != NULL){
    $locationUrl ="&location=$location";}
$priceSort=$_GET['priceSort'];
if ($priceSort != NULL){
    $sortUrl ="&priceSort=$priceSort";}

$url = '../Bildgalleri/getPaintings.php';
echo "
<li><a href='", $url, '?headCategory=' . 'Målningar' .$locationUrl.$sortUrl."'>Målningar</a></li>
<li><a href='", $url, '?headCategory=' . 'Fotografier' .$locationUrl.$sortUrl."'>Fotografier</a></li>
<li><a href='", $url, '?headCategory=' . 'Litografier' .$locationUrl.$sortUrl."'>Litografier</a></li>
<li><a href='", $url, '?headCategory=' . 'Teckningar' . $locationUrl.$sortUrl."'>Teckningar</a></li>
<li><a href='", $url, '?headCategory=' . NULL . $locationUrl.$sortUrl."'>Alla</a></li>
";
?>

<li><a href="../ImageUploader/uploadForm.php" title="" class="current2">Lägg in en annons</a></li>
</ul>
</center>

